package com.ruoyi.hatha.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 会员卡对象 p_cards
 * 
 * @author Dong
 * @date 2024-01-03
 */
public class PCards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 卡名称 */
    @Excel(name = "卡名称")
    private String name;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal jiage;

    /** 图标 */
    @Excel(name = "图标")
    private String pic;

    /** 权益 */
    @Excel(name = "权益")
    private String quanyi;

    /** 有效期天 */
    @Excel(name = "有效期天")
    private Integer yxq;

    private String type;

    private String  openfx;

    private String kcid;

    private Integer cs;

    @Transient
    private PMyvip myvip;

    private Long fid;

    private String bdfl;

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public PMyvip getMyvip() {
        return myvip;
    }

    public String getBdfl() {
        return bdfl;
    }

    public void setBdfl(String bdfl) {
        this.bdfl = bdfl;
    }

    public void setMyvip(PMyvip myvip) {
        this.myvip = myvip;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJiage(BigDecimal jiage) 
    {
        this.jiage = jiage;
    }

    public BigDecimal getJiage() 
    {
        return jiage;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setQuanyi(String quanyi) 
    {
        this.quanyi = quanyi;
    }

    public String getQuanyi() 
    {
        return quanyi;
    }
    public void setYxq(Integer yxq) 
    {
        this.yxq = yxq;
    }

    public Integer getYxq() 
    {
        return yxq;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOpenfx() {
        return openfx;
    }

    public void setOpenfx(String openfx) {
        this.openfx = openfx;
    }

    public String getKcid() {
        return kcid;
    }

    public void setKcid(String kcid) {
        this.kcid = kcid;
    }

    public Integer getCs() {
        return cs;
    }

    public void setCs(Integer cs) {
        this.cs = cs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("jiage", getJiage())
            .append("pic", getPic())
            .append("quanyi", getQuanyi())
            .append("yxq", getYxq())
            .append("type", getType())
            .append("openfx", getOpenfx())
            .append("kcid", getKcid())
            .append("cs", getCs())
            .append("bdfl", getBdfl())
            .append("fid", getFid())
            .toString();
    }
}
